Skip to content

2025 refresh#14

Merged
benc-uk merged 30 commits intomainfrom
2025-refresh
May 17, 2025
Merged

2025 refresh#14
benc-uk merged 30 commits intomainfrom
2025-refresh

Conversation

@benc-uk
Copy link
Copy Markdown
Collaborator

@benc-uk benc-uk commented May 14, 2025

  • Remove old nginx conf
  • Refreshed for eslint and all packages to latest
  • Fix run target dependency to ensure frontend modules are available before starting processes

benc-uk added 28 commits May 14, 2025 12:44
…ove test reporting, and enhance test commands
…t reporting, and improve integration test command
…n tests and adjust Makefile for process management
@benc-uk benc-uk requested a review from Copilot May 17, 2025 10:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refreshes the project configuration and dependencies for 2025, removes the old nginx configuration, and updates package versions and run target dependencies. Key changes include new API endpoint test files for products, orders, and cart; updates to documentation and Makefile targets; and revisions to CI/CD workflows and linting configurations.

Reviewed Changes

Copilot reviewed 78 out of 78 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
api/bruno/Dapr Store API//.bru New API test definition files for products, orders, and cart
api/api-tests.http & api/api-reference.http Added/updated API test and reference files for httpYac
README.md Updated documentation and project status details
Makefile Updated build, test targets, and run commands; added clear-state flag
.golangci.yaml Revised linting configuration and settings
.github/workflows/release-images.yml Upgraded checkout action version
.github/workflows/ci-build.yml Updated CI build workflow with new Go version, testing, and reporting

Comment thread .github/workflows/ci-build.yml Outdated
benc-uk and others added 2 commits May 17, 2025 11:30
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@benc-uk benc-uk requested a review from Copilot May 17, 2025 10:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refreshes dependencies, tooling, and CI, and adds comprehensive API integration tests.

  • Updates linting, testing, and build targets (Makefile, .golangci.yaml)
  • Introduces Dapr Store API test specs (.bru) and httpYac tests (api/api-tests.http)
  • Bumps GitHub Action versions and enhances CI to run unit + API tests with reports

Reviewed Changes

Copilot reviewed 79 out of 79 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Makefile Added test-report, test-api, clear-state, api-spec targets; bumped version
api/bruno/Dapr Store API/**/*.bru New Dapr HTTP test specs for Products, Orders, Cart
api/api-tests.http Added httpYac integration tests
.github/workflows/ci-build.yml Updated actions/setup-go, checkout versions, added API test step
.golangci.yaml Refreshed linter config and enabled additional linters
README.md Updated docs to reflect new commands and versions
Comments suppressed due to low confidence (4)

Makefile:20

  • New targets (test-report, test-api, test-api-report, clear-state, api-spec) are not listed in .PHONY; consider adding them to ensure make treats them properly.
.PHONY: help lint lint-fix test test-reports docker-build docker-run docker-stop docker-push bundle clean run stop

api/bruno/Dapr Store API/Cart/Submit.bru:26

  • The status literal new is unquoted. It should be compared as a string, e.g., eq "new" to ensure the test matcher works correctly.
res.body.status: eq new

api/bruno/Dapr Store API/Products/Get Single Product.bru:15

  • The ID literal prd003 is unquoted. It should be compared as a string, e.g., eq "prd003" so the assertion matches correctly.
res.body.id: eq prd003

api/bruno/Dapr Store API/Products/Search Products.bru:15

  • The string literal Paisley is unquoted; wrap it in quotes (e.g., contains "Paisley") to ensure the test assertion treats it as a string.
res.body[0].name: contains Paisley

Comment thread api/api-tests.http
Comment thread Makefile
@benc-uk benc-uk merged commit 19912e1 into main May 17, 2025
10 checks passed
@benc-uk benc-uk deleted the 2025-refresh branch May 17, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants